<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/equip/sparepart/equip_edit.js"></script>

<script type="text/javascript" src="${ctx}/js/jedate/jedate.js"></script>
<script type="text/javascript">
$(function(){
	jeDate({
		dateCell:"#date",
		format:"YYYY-MM-DD hh:mm:ss",
		isinitVal:false,
		isTime:true, 
		isClear:false,
		minDate:"2014-09-19 00:00:00"
	})
})
</script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/equip/sparepart_editEntity.shtml">
		<input type="hidden" class="form-control checkacc" value="${equipAll.id}"
			name="equipSparepartFormMap.id" id="id">
		<section class="panel panel-default">
			<div class="panel-body">
			
			<div class="form-group">
					<label class="col-sm-3 control-label">是否损坏维修：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入是否损坏维修"
							name="equipSparepartFormMap.damageRepair"  value="${equipAll.damageRepair }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">是否报废：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入是否报废"
							name="equipSparepartFormMap.abolishRepair"  value="${equipAll.abolishRepair }">
					</div>
				</div>		
				<div class="line line-dashed line-lg pull-in"></div>
					<div class="form-group">
					<label class="col-sm-3 control-label">是否发外维修：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="请输入是否发外维修"
							name="equipSparepartFormMap.sendOutRepair"  value="${equipAll.sendOutRepair}">
					</div>
				</div>	
				<div class="form-group">
				<label class="col-sm-3 control-label">日期：</label>
				<div class="col-sm-9">
					<input type="text" class="form-control"
						placeholder="请输入日期" name="equipSparepartFormMap.date" id="date"
						value="${equipAll.date}">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
					
			<div class="form-group">
					<label class="col-sm-3 control-label">状态：</label>
					<div class="col-sm-9">
						<select class="form-control" name="equipSparepartFormMap.status">
							<option value="1" <c:if test="${equipAll.status eq 1}"> SELECTED</c:if>>正常</option>
							<option value="2" <c:if test="${equipAll.status eq 2}"> SELECTED</c:if>>删除</option>
							
						</select>
			</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			
			</div>
			<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> 
	</section>
	</form>
</body>
</html>